package com.senven.address.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.senven.common.entity.Address;
import com.senven.common.pojo.vo.CommonResult;
import org.checkerframework.checker.units.qual.A;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author YSH
 * @since 2022-09-05
 */
public interface AddressService extends IService<Address> {
    CommonResult insertAddress(String token,Address address);

    List<Address> findAllAddressByUserid(String id);

    CommonResult findAllAddress(String token);

    CommonResult delAddress(Integer id);

    CommonResult findAddressByid(Integer id);

    CommonResult updateAddressByid(Address id);

    /*CommonResult updateAddress(Integer id)*/;
}
